package controller

import (
	"sale-admin/config/mysql"

	"sale-admin/internal/app/web/service/test"

	"192.168.1.75/go-pkg/response"
	"github.com/gin-gonic/gin"
)

type Test struct{}

func (Test) WanxiangQueryPoints(c *gin.Context) {

	db := mysql.NewDB()
	data, err := test.TestService{}.WanxiangQueryPoints(c.Request.Context(), db)

	response.JSON(c, data, err)
	return

}
